package com.dtx.qiku.goods.dao;


import com.dtx.qiku.goods.entity.Goods;

public interface GoodsDao {

    /**
     * 添加商品
     * @param goods
     * @throws Exception
     */
    public void saveGoods(Goods goods) throws Exception;

    /**
     * 根据商品编号查询对应的商品
     * @param num
     * @return
     * @throws Exception
     */
    public Goods findGoodsByNum(String num) throws Exception;

    Goods findGoods();
}
